Write conflict resolution - Use 'mine' message

Description

When resolving write conflict errors this is the text for the menu item that allows you to select your value. You can use the {myvalue} placeholder in the text. You can use language and text dictionary tags in the text.

images/minemess3.png
The default use 'mine' message

Where this message appears

This message will only show if there is a write conflict to be resolved. To view the mine message first tap on the write conflict

images/minemess.png
A write conflict

The write conflict can be resolved one of two ways, either you honor the edit that was made or you push your edit to the server and overwrite the existing one.

images/minemess2.png
Use their edit or yours?

Changing the "Use 'Mine' Message" with Language Tags, a5:r

The default Use mine message looks like this:

Use mine ('{myvalue}')

The {myvalue} in this example is a placeholder for the change that you made. In this case the edit was to change the name 'Christina Berglund' to 'Christina Berglunde'. The message displayed could be anything. For example it is possible to add language tags. Language tags use <a5r></a5r> or a video on language tags (used in the Grid Builder) watch this. Here is how you can add language tags here:

  1. In the "Write conflict resolution - Use 'mine' message" property place <a5r></a5r> tags around some simple text.

    <a5:r>Use mine</a5:r>('{myvalue}')
    images/lang.png
  2. Open the UX Properties page and scroll down to the 'Other' section. Click the [...] button next to the 'Language definitions' property.

    images/lang2.png
  3. Click the Add Language button to add a new language.

    images/lang3.png
    You can add as many languages as you want.
  4. Click the Refresh List of Placeholders button

    images/lang4.png
  5. Set the value of the Default language.

    Use mine=Use mine
    images/lang5.png
  6. Set the value of the added language. Click OK

    Use mine=Utilisez ma définition
    images/lang6.png
  7. In the UX Properties page under the 'Other' section, set the 'Active language' property to the language you want.

    images/lang7.png
  8. Run in Live Preview and create a Write conflict. To alter the language simply change the 'Active language' property setting. Language tags can be added to a number of properties across the UX.

    images/lang8.png
    We haven't defined an <a5:r></a5> tag for the 'Use 'Theirs' message so this appears as the default